package org.flexspeedup.delegate
{
/**
 * Classes implementing this interface provide a way to handle state change 
 * post-processing logic
 */
public interface IStateChangeDelegate
{

    //----------------------------------
    //  enterStateHandler
    //----------------------------------
    /**
     * Logic to be executed after entering a state
     */
    function enterStateHandler():void;

    //----------------------------------
    //  exitStateHandler
    //----------------------------------
    /**
     * Logic to be execute after exiting a state
     */
    function exitStateHandler():void;
}
}